<?php
/**
 * SocialEngine
 *
 * @category   Application_Extensions
 * @package    Quiz
 * @copyright  Copyright Hire-Experts LLC
 * @license    http://www.hire-experts.com
 * @version    $Id: _list.tpl 2010-07-02 17:53 michael $
 * @author     Michael
 */
?>

<li>
  <a href="javascript:void(0);" rev="recent" class="item <?php if ($this->list_params['mode'] == 'recent'):?>is_active<?php endif;?> wall_blurlink">
    <span class="wall_icon_active">&nbsp;</span>
    <span class="wall_icon wall-most-recent">&nbsp;</span>
    <?php echo $this->translate('WALL_RECENT')?>
  </a>
</li>


<?php if (count($this->types)):?>

  <?php foreach ($this->types as $type):?>
    <li>
      <a href="javascript:void(0);" rev="type-<?php echo $type?>" class="item <?php if ($this->list_params['mode'] == 'type' && $type == $this->list_params['type']):?>is_active<?php endif;?> wall_blurlink">
        <span class="wall_icon_active">&nbsp;</span>
        <span class="wall_icon wall-type-<?php echo $type?>">&nbsp;</span>
        <?php echo $this->translate('WALL_TYPE_' . strtoupper($type) )?>
      </a>
    </li>
  <?php endforeach ;?>


<?php endif;?>

<?php if (count($this->lists)):?>

  <?php foreach ($this->lists as $list):?>
    <li>
      <div class="options">
        <a href="javascript:void(0);" class="edit" title="<?php echo $this->translate('Edit')?>" rev="list_<?php echo $list->list_id?>"></a>
        <a href="javascript:void(0);" class="remove" title="<?php echo $this->translate('Delete')?>" rev="list_<?php echo $list->list_id?>"></a>
      </div>
      <a href="javascript:void(0);" rev="list-<?php echo $list->list_id?>" class="item <?php if ($this->list_params['mode'] == 'list' && $list->list_id == $this->list_params['list_id']):?>is_active<?php endif;?> wall_blurlink">
        <span class="wall_icon_active">&nbsp;</span>
        <span class="wall_icon wall-type-list">&nbsp;</span>
        <?php echo $list->label?>
      </a>
    </li>
  <?php endforeach ;?>


<?php endif;?>

<li>
  <a href="javascript:void(0);" rev="create-new" class="item wall_blurlink">
    <span class="wall_icon_active">&nbsp;</span>
    <span class="wall_icon wall-list-new">&nbsp;</span>
    <?php echo $this->translate('WALL_TYPE_CREATE_NEW')?>
  </a>
</li>

